package com.sunyard.inser.common.enums;

public enum ErrorCode {
	SUCCESS("0000", "成功"),
	PARAM_ERROR("0001", "参数错误"),

	TIME_OUT("9000", "网络超时"),
	ERROR("0009", "内部错误");
	
	
	ErrorCode(String code, String message)
	{
		this.code = code;
		this.message = message;
	}
	
	private String code;
	private String message;
	
	public String getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}
}
